/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.femass.controller;

import com.femass.model.Revisor;
import com.femass.repository.RevisorRepository;
import com.femass.util.Repositorios;
import java.util.List;

/**
 *
 * @author daureo
 */
public class GestaoRevisores {
    
    private Repositorios repositorios = new Repositorios();
    private RevisorRepository revisorRepo = this.repositorios.getRevisores();
    
    public List<Revisor> listaTodos(){
        return this.revisorRepo.todos();
    }
    
    public void salvar(Revisor revisor){
        this.revisorRepo.salvar(revisor);
    }
    
    public void remover(Revisor revisor){
        this.revisorRepo.remover(revisor);
    }
    
}
